package org.edu.zzu.health_report.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.edu.zzu.health_report.domain.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author 高朋
* @description 针对表【user(用户表)】的数据库操作Mapper
* @createDate 2021-11-08 15:30:57
* @Entity org.edu.zzu.health_report.domain.User
*/
@Mapper
public interface UserMapper extends BaseMapper<User> {

    List<User> selectAll();

    int deleteByPrimaryKey(Integer id);

    @Override
    int insert(User user);

    int insertSelective(User user);


    User selectByPrimaryKey(Integer id);

    User selectByUserId(String userId);

    int updateByPrimaryKeySelective(User user);

    int updateByPrimaryKey(User user);
}




